package demo3;
public class Base {
    public int a;
    protected int b;

    public Base() {
    }

    public Base(int a, int b) {
        this.a = a;
        this.b = b;
    }

    public int add() {
        return this.a + this.b;
    }
}
